package rnd;

import java.util.Random;

public class Dice {

	private static final Random random = new Random();
	public static int d(int dice) {
		return random.nextInt(dice)+1;
	}
}
